package com.dell.chen.service.Impl;

import com.dell.chen.dao.OrderDao;
import com.dell.chen.dao.impl.OrderDaoImpl;
import com.dell.chen.pojo.Cart;
import com.dell.chen.pojo.Order;
import com.dell.chen.service.OrderService;

/**
 * @author ：ChenwithIU
 * @date ：Created in 2020/12/7 16:36
 */
public class OrderServiceImpl implements OrderService {

    private OrderDao orderDao = new OrderDaoImpl();
    private OrderService orderService = new OrderServiceImpl();


    @Override
    public int createOrder(Order order) {

        return orderDao.saveOrder(order);
    }
}
